home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2001 May
/
SGI Freeware 2001 May - Disc 3.iso
/
dist
/
fw_expect.idb
/
usr
/
freeware
/
bin
/
timed-read.z
/
timed-read
Wrap
Text File
|
1999-01-26
|
204b
|
7 lines
#!/usr/freeware/bin/expect -f
# read a complete line from stdin
# aborting after the number of seconds (given as an argument)
# - Don Libes
set timeout $argv
expect -re \n {send_user $expect_out(buffer)}